import service from "@/utils/service";
// service 层
export function getCategory(service,params) {
  return service({
    url:"/category/get",
    params,
    method:"GET"
  })
}


export function getBlogInfo(service,params) {
  return service({
    url:"/blog/info/get",
    params,
    method:"GET"
  })
}

export function getCrossList(service,){
  return service.get("/admin/cross/get")
}

export function getLink(service,data) {
  return service.post("/link/get",data)
}
export function getTags(service) {
  return service({
    url:"/tags/get",
    method:"GET"
  })
}
